package com.easymin.weixin.mapper;

import com.easymin.weixin.entity.ApiLogs;
import com.easymin.weixin.entity.ApiLogsCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ApiLogsMapper extends BaseMapper<ApiLogs, ApiLogsCriteria, Long> {
  Long countByExample(ApiLogsCriteria example);

  int deleteByExample(ApiLogsCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(ApiLogs record);

  int insertSelective(ApiLogs record);

  List<ApiLogs> selectByExampleWithBlobsWithRowbounds(ApiLogsCriteria example, RowBounds rowBounds);

  List<ApiLogs> selectByExampleWithBlobs(ApiLogsCriteria example);

  List<ApiLogs> selectByExampleWithRowbounds(ApiLogsCriteria example, RowBounds rowBounds);

  List<ApiLogs> selectByExample(ApiLogsCriteria example);

  ApiLogs selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") ApiLogs record,
      @Param("example") ApiLogsCriteria example);

  int updateByExampleWithBlobs(@Param("record") ApiLogs record,
      @Param("example") ApiLogsCriteria example);

  int updateByExample(@Param("record") ApiLogs record, @Param("example") ApiLogsCriteria example);

  int updateByPrimaryKeySelective(ApiLogs record);

  int updateByPrimaryKeyWithBlobs(ApiLogs record);

  int updateByPrimaryKey(ApiLogs record);
}
